package inventario;

import conexion.CConexion;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;

public class CInvBod100 extends CConexion {

    String compania = null;

    public CInvBod100() {
        super();
        this.compania = login.getCompaniaActual();
    }

    public ResultSet buscarDescripcionBodegas() throws SQLException {
        String sqlBuscarBodegas = "select distinct(bod100desc) from invbod100";
        Statement stncBuscarBodegas = this.getConexion().createStatement();
        ResultSet rsBuscarBodegas = stncBuscarBodegas.executeQuery(sqlBuscarBodegas);
        return rsBuscarBodegas;
    }
}
